// out: false,main:../map_normal.less,main:../map_dark.less
.floatTools {
    position: absolute;
    top: 110px;
    right: 10px;
    width: 42px;
    z-index: 900;

    .ip {
        visibility: hidden;
    }

    .tit {
        background: #1A9DFB;
        text-align: center;
        display: block;
        color: #fff;
        padding: 5px;
        cursor: pointer;
    }

    ul {
        border: 1px solid rgba(0, 0, 0, .2);
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1);
        background: #fff;
    }

    input {
        &~ul {
            position: relative;
            visibility: hidden;
            opacity: 0;
            top: -20px;
            z-index: 1;
        }

        &:checked~ul {
            visibility: visible;
            opacity: 1;
            top: 0;
        }
    }

    li {
        border-bottom: 1px solid rgba(0, 0, 0, .2);
        padding: 8px 0 5px 0;
        position: relative;
        list-style: none;

        &>a {
            text-align: center;
            display: block;

            &:hover {
                color: #1A9DFB;
            }

            p {
                i {
                    font-size: 20px;
                    padding: 0 0 15px 0;
                    margin: 0;
                    line-height: 20px;
                    height: 20px;
                }
            }

            .more {
                width: 0;
                height: 0;
                border-bottom: 8px solid #1E9FFF;
                border-right: 8px solid transparent;
                position: absolute;
                left: 0;
                bottom: 0;
                text-indent: -999px;
                overflow: hidden;
            }
        }

        .smenu {
            display: none;
            position: absolute;
            border: 1px solid rgba(0, 0, 0, .2);
            border-right: 0;
            background: #fff;
            top: -1px;
            right: 40px;
            width: max-content;
            height: 49px;

            &>a {
                float: left;
                display: block;
                padding: 4px 10px 4px 10px;
                border-right: 1px solid rgba(0, 0, 0, .2);

                p {
                    text-align: center;

                    i {
                        font-size: 20px;
                    }
                }
            }
        }

        &:hover {
            .smenu {
                display: block;
            }
        }
    }
}

// 定位
.fixSelList {
    position: absolute;
    height: 300px;
    width: 100%;
    top: -20px;
    left: -2px;
}

.selCity {
    padding: 5px 5px 6px 5px;
    position: relative;

    .layui-form-select {
        width: 100px;
    }

    .selList {
        position: absolute;
        left: 0;
        top: 50px;
        width: 320px;
        overflow: hidden;
        border: 1px solid #ccc;

        ul {
            width: 100%;
            border: 0px solid #ccc;

            li {
                display: block;
                width: 100%;
                border: 0;
                background: #fff;
                padding: 0px;

                a {
                    display: block;
                    width: 100%;
                    padding: 10px 10px;
                    border-bottom: 1px solid #ccc;
                    text-align: left;

                    span {
                        padding: 0 5px;

                        i {
                            font-size: 16px;
                        }
                    }
                }
            }
        }
    }
}

.importDark (@a)when (@a="dark") {
    .floatTools {
        .tit {
            background: @black-blue;
            color: @white;
        }

        ul {
            border: 1px solid @black-blue;

            li {
                background: @dark-blue;
                border-bottom: 1px solid @black-blue;

                a {
                    color: @white;

                    &:hover {
                        color: @white;
                    }
                }

                & .smenu {
                    background: @dark-blue;
                }
            }
        }
    }

    .selCity {
        background: @dark-blue;
        .selList{
            border: 1px solid @black-blue;
            ul{
                li{
                    background: @black-blue;
                    border-bottom:1px solid  #333;
                    a{
                        border:0;
                    }
                }
            }
        }
    }
}